<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
 ! Excerpted from "Prototype and script.aculo.us",
 ! published by The Pragmatic Bookshelf.
 ! Copyrights apply to this code. It may not be used to create training material, 
 ! courses, books, articles, and the like. Contact us if you are in doubt.
 ! We make no guarantees that this code is fit for any purpose. 
 ! Visit http://www.pragmaticprogrammer.com/titles/cppsu for more book information.
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Ruby library AJAX search</title>
  <link rel="stylesheet" type="text/css" href="search.css" />
  <script type="text/javascript" src="prototype.js"></script>
  <script type="text/javascript" src="scriptaculous.js?load=effects"></script>
  <script type="text/javascript" src="search.js"></script>
</head>
<body>
  <h1>Ruby library AJAX search</h1>

  <form id="searchForm" method="get" action="/search">
    <fieldset>
      <legend>Your search</legend>
      <p>
        <label for="edtSearch" accesskey="S">Your search</label>
        <input type="text" id="edtSearch" name="q" />
      </p>
      <p><input type="submit" value="Search!" /></p>
    </fieldset>
  </form>

  <div id="results" style="display: none;"></div>
</body>
</html>
